DIR ?= /root/package-build/packages
PKG ?= qt5-qtwebsockets
VERSION ?= 5.15.11
RELEASE ?= 1
SRC_TAR ?= qtwebsockets-everywhere-opensource-src-5.15.11.tar.xz

sources:
	chmod +x ./fetch-sources.sh
	./fetch-sources.sh $(DIR) $(PKG) $(VERSION) $(RELEASE) ${SRC_TAR}

srpm:
	chmod +x ./build-srpm.sh
	./build-srpm.sh $(DIR) $(PKG)

upload:
	chmod +x ./upload.sh
	./upload.sh $(DIR) $(PKG) $(VERSION) $(SRC_TAR)